home *** CD-ROM | disk | FTP | other *** search
/ AOL File Library: 2,801 to 2,900 / aol-file-protocol-4400-2801-to-2900.zip / AOLDLs / C++ Files Library / HyperCuber Source / HyperCuber 2.0 Source.sit / HyperCuber 2.0 Source / CPath.h < prev    next >
Text File  |  1994-04-27  |  750b  |  30 lines

  1. //|~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  2. //| This file contains the interface to the CPath class.  A CPath
  3. //| is a graphics primitive.  It is path composed of line segments.
  4. //|________________________________________________________________________________
  5.  
  6. #pragma once
  7. #include "CPrimitive.h"
  8. #include <iostream.h>
  9.  
  10. CLASS CList;
  11. CLASS CPane;
  12.  
  13. class CPath : public CPrimitive
  14.     {
  15.     
  16.  
  17.   public:
  18.  
  19.     CList    *path_vertex_indices;            //  Vertices of this path (by index number)
  20.  
  21.     void    IPath(CList *colors);
  22.     void    Dispose(void);
  23.     void    Read(void);
  24.     void    Draw(RGBColor *override_color, Point **screen_vertices,
  25.                             Rect *clip_rect, Boolean fAntialias);
  26.  
  27.     friend istream& operator>> (istream& s, CPath& path);
  28.  
  29.     };
  30.